// 临时调试文件，用于检查路由配置
import router, { asyncRoutes, constantRouter } from './router/index.ts';

console.log('=== 常量路由 ===');
constantRouter.forEach(route => {
  console.log(`${route.name}: ${route.path}`);
});

console.log('=== 异步路由 ===');
asyncRoutes.forEach(route => {
  console.log(`${route.name}: ${route.path}`);
  if (route.children) {
    route.children.forEach(child => {
      console.log(`  - ${child.name}: ${child.path}`);
    });
  }
});

console.log('=== 所有注册的路由 ===');
router.getRoutes().forEach(route => {
  console.log(`${route.name}: ${route.path}`);
});